import request from "@/utils/request";

// 查询土的承载比(CBR)记录二列表
export function listTgTdczbjlbeBsInfo(query) {
  return request({
    url: "/report_tg/tgTdczbjlbeBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询土的承载比(CBR)记录二详细
export function getTgTdczbjlbeBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdczbjlbeBsInfo/" + excelId,
    method: "get"
  });
}
// 计算土的承载比(CBR)记录二
export function computeTgTdczbjlbeBsInfo(data) {
  return request({
    url: "/report_tg/tgTdczbjlbeBsInfo/compute",
    method: "put",
    data: data,
    notInterval: true
  });
}
// 新增土的承载比(CBR)记录二
export function addTgTdczbjlbeBsInfo(data) {
  return request({
    url: "/report_tg/tgTdczbjlbeBsInfo",
    method: "post",
    data: data
  });
}

// 修改土的承载比(CBR)记录二
export function updateTgTdczbjlbeBsInfo(data) {
  return request({
    url: "/report_tg/tgTdczbjlbeBsInfo",
    method: "put",
    data: data
  });
}

// 删除土的承载比(CBR)记录二
export function delTgTdczbjlbeBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTdczbjlbeBsInfo/" + excelId,
    method: "delete"
  });
}
